home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000259_news@columbia.edu _Wed Dec 4 12:03:35 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.8.3/8.8.3) with ESMTP id MAA01481 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 4 Dec 1996 12:03:34 -0500 (EST)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.8.3/8.8.3) id MAA15617 for kermit.misc@watsun; Wed, 4 Dec 1996 12:03:34 -0500 (EST)
  4. Path: news.columbia.edu!panix!feed1.news.erols.com!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!news-peer.gsl.net!news.gsl.net!news-dc.gsl.net!news.gsl.net!news.belnet.be!swsbe6.switch.ch!scsing.switch.ch!ubnsrv.unisource.ch!newssrv.ita.tip.net!i2unix!cesi!meregalli
  5. From: meregalli@cesi.it (Alberto Meregalli (DIF))
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Random login prompt with K95
  8. Message-ID: <1996Dec4.123609.1220@cesi>
  9. Date: 4 Dec 96 12:36:09 +0100
  10. References: <1996Dec3.161932.1217@cesi> <581mdn$3lf$1@apakabar.cc.columbia.edu> <5824av$f1v$1@apakabar.cc.columbia.edu> <1996Dec4.110236.1219@cesi>
  11. Organization: Centro Elettrotecnico Sperimentale Italiano, Milano, Italy
  12. Lines: 82
  13.  
  14. In article <1996Dec4.110236.1219@cesi>, meregalli@cesi.it (Alberto Meregalli (DIF)) writes:
  15. > In article <5824av$f1v$1@apakabar.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
  16. >> This is probably happening because the terminal type is being renegotiated:
  17. >> "My terminal type is VT320", "I don't like that one, please try another",
  18. >> "OK, it's VT220", etc etc.  This is documented in section 6.2 of UPDATES.DOC.
  19. >> 
  20. >> It could be the root of all the other symptoms you have reported.
  21. > ...
  22. >> So far so good.  But VMS doesn't like the VT320 terminal type, so it sends
  23. >> a message asking us to try another one, so we drop down to VT220:
  24. >> 
  25. >> TELNET RCVD SB TERMINAL-TYPE SEND  IAC SE
  26. >> TELNET SENT SB NAWS 80 49 IAC SE
  27. >> TELNET SENT SB TERMINAL-TYPE IS VT220 IAC SE
  28. >> 
  29. >> But whenever we change terminal types we have to clear the screen.  Why?
  30. >> Because different terminal types might have different dimensions, coloration,
  31. >> attributes, etc, and we must initialize all of this when switching emulations.
  32. >> So now the user sees a blank screen.  (Scrollback would reveal the herald
  33. >> and Username: prompt on the previous screen.)  
  34. > That's what happens: we could see the Username: prompt by scrolling
  35. > back.
  36.  
  37.  
  38. I have to elaborate on that: in the sniffer captures of "regular"
  39. (i.e. appearing prompt) session the sequence is, considering only visible
  40. data and the Terminal Type option:
  41.  
  42. >From VAX                 From K95
  43.  
  44. ------1st example------------------
  45. SEND
  46.                          IS 'VT320'
  47. <cr><lf><cr>
  48. SEND
  49. <lf><cr><nul>Username:
  50.                          IS 'VT220'
  51. ------2nd example------------------
  52. SEND
  53. <cr><lf><cr>
  54.                          IS 'VT320'
  55. SEND
  56. <lf><cr><nul>Username:
  57.                          IS 'VT220'
  58. ------3rd example------------------
  59. SEND
  60. <cr><lf><cr>
  61.                          IS 'VT320'
  62. SEND
  63. <lf><cr><nul>Username:
  64.                          IS 'VT220'
  65.  
  66.  
  67. In the case that the prompt disappears this is what you see
  68.  
  69. ------1st example------------------
  70. SEND                                         |
  71. <cr><lf><cr>                                 |
  72. <lf><cr><nul>Username:                       |
  73.                                              |
  74.                          IS 'VT320'          |
  75. SEND                                         |
  76.                          eesposito<cr><lf>   |
  77. EESPOSITO<cr><lf>                            | all of this was seen 
  78. <cr><lf>Password:                            | on the screen!
  79.                          IS 'VT220'          |
  80. ------2nd example------------------
  81. SEND
  82. <cr><lf><cr>
  83. <lf><cr><nul>Username:
  84.                          IS 'VT320'
  85. SEND
  86.                          IS 'VT220'
  87.  
  88.  
  89. It seems that the screen clearing happens when the second SEND from
  90. the VAX is received, not when the new terminal type string is sent.
  91. ---------------------------------------------------------------------------
  92. Alberto Meregalli, DIF                                  tel. +39 2 2125 249
  93. CESI, Centro Elettrotecnico Sperimentale Italiano       fax  +39 2 2125 520
  94. Via Rubattino, 54 - I 20134 Milano                E-mail: meregalli@cesi.it